package com.ruoyi.base.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 标段业务对象 base_bs_bd
 *
 * @author zxs
 * @date 2024-09-25
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BaseBsBdBo extends BaseEntity {

    /**
     *
     */
//    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 所属项目id
     */
    @NotNull(message = "所属项目id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long projectId;

    /**
     * 父id
     */
//    @NotNull(message = "父id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long parentId;

    /**
     * 标段名称
     */
//    @NotBlank(message = "标段名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 排序
     */
//    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sort;

    /**
     * 施工单位id
     */
    @NotNull(message = "施工单位id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sgdwId;

    /**
     * 施工单位名称
     */
//    @NotBlank(message = "施工单位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sgdwName;

    /**
     * 监理单位id
     */
    @NotNull(message = "监理单位id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long jldwId;

    /**
     * 监理单位名称
     */
//    @NotBlank(message = "监理单位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jldwName;

    /**
     * 审计单位id
     */
    @NotNull(message = "审计单位id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sjdwId;

    /**
     * 审计单位名称
     */
//    @NotBlank(message = "审计单位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sjdwName;

    /**
     * 设计单位id
     */
//    @NotNull(message = "设计单位id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long shejdwId;

    /**
     * 设计单位名称
     */
//    @NotBlank(message = "设计单位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shejdwName;
    //所属项目名称
    private String projectName;
    //中间计量入口标志，1中间计量页面，空，其他页面；
    private Integer hasJl;
    //工序查询标志，1查询是否有共享，空或其他，不查；
    private Integer hasGx;


}
